package com.demo.security.mapper;

import com.demo.security.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select id,username,password from tb_user where username=#{username}")
    User selectUserByUserName(String username);
}
